const Mock = require('mockjs')

module.exports = () => {
  return Mock.mock({
    "banners|5": ["@image(375x200, @color, banner)"],
    "menus|8": [{
      "name": '@ctitle(2)',
      "image": "@image(50x50, @color)",
      "id": "@id"
    }],
    "list|200": [{
      "id": "@id",
      "image": '@image(120x80, @color)',
      "title": "@ctitle",
      "desc": '@cword(10, 30)',
      "price|400-10000": 1,
      "type|1": ["一室一厅", "两室一厅", "两室两厅", "三室两厅", "四室两厅"],
      "distance|300-100000": 1
    }],
    "collects": []
  })
}
